<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
</head>
<body class="childrenBody">
<div class="layui-form" style="margin: 10% 20%">
    <div class="layui-form-item">
        <label class="layui-form-label">角色编号</label>
        <div class="layui-input-inline">
            <input type="text" id="code" required lay-verify="required" placeholder="请输入角色编号" autocomplete="off"
                   class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">*</div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">角色名</label>
        <div class="layui-input-inline">
            <input type="text" id="name" placeholder="请输入角色名" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid layui-word-aux">*</div>
    </div>
    <div class="layui-form-item layui-text">
        <label class="layui-form-label">角色描述</label>
        <div class="layui-input-inline">
            <textarea type="text" id="desc" placeholder="请输入角色描述" autocomplete="off" class="layui-textarea"></textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" class="layui-btn" id="update">提交</button>
            <button type="button" class="layui-btn layui-btn-primary" id="cancel">取消</button>
        </div>
    </div>
</div>

<script src="../../layui/layui.js"></script>
<script src="../../js/jquery-3.5.1.js"></script>
<script src="../../js/jquery.cookie.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/role/edit_role.js"></script>
</body>
</html>